<?php
class TravelerSeeder extends Seeder {

	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		DB::table('traveler')->delete();
		
		$vader = DB::table('traveler')->insert([
				
				'type'=> 'Terceiro',
				'status'=> '1',
				'name'=> 'Jose da Silva',
				'birthDate'=> '2011-12-12',
				'email'=> 'jose@jose.com',
				'phone'=> '11 5455-5565',
				'mobilePhone'=> '11 98785-7944',
				'gender'=> 'M',
				'cpf'=> '111.111.111-78',
				'passport'=> '1234567',
				'registration'=> '123456',
				'department'=> 'Compras',
				'responsibility'=> 'Analista',
				'regional'=> 'SP',
				'costCenter'=> 'CC',
				'requestor'=> 'Maria Silva',
				'requestingPhone'=> '11 7894-7897',
				'requestingEmail'=> 'maria@silva.com',
				'created_at' => new DateTime(),
				'updated_at' => new DateTime()
		]);
		
		$vader = DB::table('traveler')->insert([
		
				'type'=> 'Funcionario',
				'status'=> '0',
				'name'=> 'Mariana da Silva',
				'birthDate'=> '2011-12-12',
				'email'=> 'jose@jose.com',
				'phone'=> '11 5455-5565',
				'mobilePhone'=> '11 98785-7944',
				'gender'=> 'F',
				'cpf'=> '111.111.111-78',
				'passport'=> '1234567',
				'registration'=> '123456',
				'department'=> 'Compras',
				'responsibility'=> 'Analista',
				'regional'=> 'SP',
				'costCenter'=> 'CC',
				'requestor'=> 'Maria Silva',
				'requestingPhone'=> '11 7894-7897',
				'requestingEmail'=> 'maria@silva.com',
				'created_at' => new DateTime(),
				'updated_at' => new DateTime()
		]);
		
		$vader = DB::table('traveler')->insert([
		
				'type'=> 'Terceiro',
				'status'=> '1',
				'name'=> 'Joao da Silva',
				'birthDate'=> '2011-12-12',
				'email'=> 'joao@jose.com',
				'phone'=> '11 5455-5565',
				'mobilePhone'=> '11 98785-7944',
				'gender'=> 'M',
				'cpf'=> '111.111.111-78',
				'passport'=> '1234567',
				'registration'=> '123456',
				'department'=> 'Compras',
				'responsibility'=> 'Analista',
				'regional'=> 'SP',
				'costCenter'=> 'CC',
				'requestor'=> 'Maria Silva',
				'requestingPhone'=> '11 7894-7897',
				'requestingEmail'=> 'maria@silva.com',
				'created_at' => new DateTime(),
				'updated_at' => new DateTime()
		]);
		
	}

}